package com.ruoyi.software.service.impl;

import com.ruoyi.software.domain.SwCar;
import com.ruoyi.software.mapper.SwCarMapper;
import com.ruoyi.software.service.ISwCarService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class SwCarServiceImpl implements ISwCarService {
    @Autowired
    private SwCarMapper swCarMapper;

    @Override
    public SwCar selectSwCarByPid(Long pid) {
        return swCarMapper.selectSwCarByPid(pid);
    }

    @Override
    public List<SwCar> selectSwCarList(SwCar swCar) {
        return swCarMapper.selectSwCarList(swCar);
    }

    @Override
    public int deleteSwCarByIds(Long[] ids) {
        return swCarMapper.deleteSwCarByIds(ids);
    }
}
